home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / apps / wordproc / 1wp2rtf.zoo / wp2rtf.txt < prev    next >
Text File  |  1992-04-29  |  2KB  |  58 lines

  1. Release Notes for WP2RTF
  2. ========================
  3.  
  4. April 1, 1992
  5.  
  6.  
  7. I finally got fed up with manually translating WordPlus files into
  8. various other word processors. I always lost the extended characters
  9. in the translation; furthermore each line became a paragraph.
  10.  
  11. Then I came across a utility called 1WP2TEX (or something like that)
  12. which had an elementary configuration file in which various
  13. characteristics could be configured. Alas, my aim was to get the files
  14. to a Macintosh word processor; and I could not get 1WP2TEX configured
  15. to do that.
  16. The reason for this is that the easiest way (in my opinion) of
  17. converting texts is using an intermediate file format. There exists a
  18. standardized exchange format (with layout info) called RTF - rich
  19. text format - that suits all our needs.
  20. However, the limits of the 1WP2TEX program did not allow for the RTF
  21. header I needed. So I wrote a similar converter.
  22.  
  23. How does it work? Well, WP2RTF must the files to translate as
  24. parameters. Furthermore, the first parameter can be '-t', in which
  25. case the second parameter must be the name of a translation file.
  26. The default translation file is called 'WP2RTF.X', which (as its
  27. name suggests) handles translation to RTF. It may be easy to write
  28. a translator for (La)TeX, I have not tried.
  29.  
  30. The format of a translation file is simple.
  31. Each line starts with either a valid keyword or a character number
  32. (in hex, preceded by '$'), followed by a separating character; the
  33. rest of the line is assigned to the character (keyword).
  34.  
  35. Valid keywords are:
  36.  
  37. init0    the initialization strings 0..9
  38.   .
  39.   .
  40. init9
  41.  
  42. exit        termination string
  43. paragraph    paragraph separator
  44. bold        bold command
  45. underlined    underlined command
  46. italic    italic command
  47. light    light command
  48. super    superscript command
  49. sub        subscript command 
  50. off        disable last style command
  51. footnote    start of footnote command
  52. endnote    end of footnote command
  53.  
  54.  
  55. Enjoy, J. Scheerder
  56.  
  57. email:    Jeroen.Scheerder@phil.ruu.nl
  58.